@layout("../../system/layout.html", {title: "报修记录"}){
<table class="form" id="form" xmlns:v-bind="http://www.w3.org/1999/xhtml">
    <tr>
        <td class="formTitle">报修人<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="报修人" v-model="projectRepairRecord.reporter" isvalid="yes" checkexpession="NotNull">
        </td>

        <td class="formTitle">报修时间<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" id="repairTimeId" class="form-control" placeholder="报修时间" v-model="projectRepairRecord.repairTime" isvalid="yes" checkexpession="NotNull">
        </td>

    </tr>
   <!-- <tr>
        <td class="formTitle">报修时间<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" id="repairTimeId" class="form-control" placeholder="报修时间" v-model="projectRepairRecord.repairTime" isvalid="yes" checkexpession="NotNull">
        </td>
    </tr>-->
    <tr>
        <td class="formTitle">医院<font face="宋体">*</font></td>
        <td class="formValue">
            <select v-model="projectRepairRecord.hospitalId" class="form-control" placeholder="医院" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsHospital" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>

        <td class="formTitle">科室<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="科室" v-model="projectRepairRecord.department" isvalid="yes" checkexpession="NotNull">
        </td>

    </tr>
 <!--   <tr>
        <td class="formTitle">科室<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="科室" v-model="projectRepairRecord.department" isvalid="yes" checkexpession="NotNull">
        </td>
    </tr>-->
    <tr>
        <td class="formTitle">位置<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="位置" v-model="projectRepairRecord.location" isvalid="yes" checkexpession="NotNull">
        </td>
    </tr>
    <tr>
        <td class="formTitle">故障分类<font face="宋体">*</font></td>
        <td class="formValue">
            <select v-model="projectRepairRecord.faultClassificationId" class="form-control" placeholder="故障分类" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsFaultClassification" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>

        <td class="formTitle">报修状态<font face="宋体">*</font></td>
        <td class="formValue">
            <select v-model="projectRepairRecord.repairStatusId" class="form-control" placeholder="报修状态" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsRepairStatus" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>

    </tr>
   <!-- <tr>
        <td class="formTitle">报修状态<font face="宋体">*</font></td>
        <td class="formValue">
            <select v-model="projectRepairRecord.repairStatusId" class="form-control" placeholder="报修状态" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsRepairStatus" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>
    </tr>-->
    <tr>
        <td class="formTitle">故障信息<font face="宋体">*</font></td>
        <td class="formValue">
            <textarea rows="2" class="form-control" placeholder="故障信息" v-model="projectRepairRecord.faultDetails" isvalid="yes" checkexpession="NotNull"></textarea>
        </td>

        <td class="formTitle">运维人员<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="运维人员" v-model="projectRepairRecord.operationMaintenancePerson" isvalid="yes" checkexpession="NotNull">
        </td>

    </tr>
  <!--  <tr>
        <td class="formTitle">运维人员<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="运维人员" v-model="projectRepairRecord.operationMaintenancePerson" isvalid="yes" checkexpession="NotNull">
        </td>
    </tr>-->
    <tr>
        <td class="formTitle">解决状态</td>
        <td class="formValue">
            <select v-model="projectRepairRecord.resolvingStatusId" class="form-control" isvalid="no">
                <option v-for="option in optionsResolvingStatus" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>

        <td class="formTitle">解决进展</td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="解决进展" v-model="projectRepairRecord.resolvingProgress" isvalid="no" >
        </td>

    </tr>
   <!-- <tr>
        <td class="formTitle">解决进展</td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="解决进展" v-model="projectRepairRecord.resolvingProgress" isvalid="no" >
        </td>
    </tr>-->
    <tr>
        <td class="formTitle">设备</td>
        <td class="formValue">
            <input type="text" class="form-control" placeholder="设备" v-model="projectRepairRecord.device" isvalid="no" >
        </td>

        <td class="formTitle">解决办法</td>
        <td class="formValue">
            <textarea rows="2" class="form-control" placeholder="解决办法" v-model="projectRepairRecord.solution" isvalid="no"></textarea>
        </td>

    </tr>
   <!-- <tr>
        <td class="formTitle">解决办法</td>
        <td class="formValue">
            <textarea rows="2" class="form-control" placeholder="解决办法" v-model="projectRepairRecord.solution" isvalid="no"></textarea>
        </td>
    </tr>-->
    <tr>
        <td class="formTitle">附件</td>
        <td class="formValue">
            <input type="text" class="form-control" v-model="projectRepairRecord.attachment">
            <input type="file" name="file" v-model="projectRepairRecord.attachment" id="cover" style="display: none;" onchange="uploadCover()" placeholder="附件" isvalid="no">
            <input type="button" class="btn btn-default btn-sm" value="上传附件" onclick="selectCover()">
        </td>
    </tr>
</table>
<script src="${ctxPath}/static/js/base/repair/edit.js"></script>
@}